<html>
<head><meta charset="utf-8"><title>PSA: we have hierarchical profile · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/PSA.3A.20we.20have.20hierarchical.20profile.html">PSA: we have hierarchical profile</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="163337982"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/PSA%3A%20we%20have%20hierarchical%20profile/near/163337982" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/PSA.3A.20we.20have.20hierarchical.20profile.html#163337982">(Apr 14 2019 at 22:23)</a>:</h4>
<p>Due to awesome work by <a href="https://github.com/pasa" target="_blank" title="https://github.com/pasa">https://github.com/pasa</a>, we how have a simple hierarchical profiler.</p>
<p>use <code>export RA_PROFILE='*&gt;10'</code> to profile all things (<code>*</code>) which run longer than 10ms</p>
<p>We have a couple of profiling points already; <a href="https://github.com/rust-analyzer/rust-analyzer/pull/1146/commits/c4a5aa45dc480792b24535ee6739a4e9a15e8aa8" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/pull/1146/commits/c4a5aa45dc480792b24535ee6739a4e9a15e8aa8">https://github.com/rust-analyzer/rust-analyzer/pull/1146/commits/c4a5aa45dc480792b24535ee6739a4e9a15e8aa8</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>